package practice;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Practice_02 {
    public static void main(String[] args){
        Set<Integer> s = new HashSet();

        while(s.size() != 6){
            s.add((int)(Math.random()*32+1));
        }

        List<Integer> list = new ArrayList();
        list.addAll(s);

        list.add((int)(Math.random()*15 +1));
        System.out.println(list);
    }
}
